package com.hz.interfaces.user.inf;

import java.util.List;

import com.hz.base.beans.vo.CommonResult;
import com.hz.base.beans.vo.PageEntity;
import com.hz.base.beans.vo.QueryParams;
import com.hz.beans.user.entity.BaseUser;

/**
 * IBaseUserService
 * @author liul
 * @since [0.0.1]
 * @version [0.0.1,2018年09月11日]
 */
public interface IBaseUserInterface {

	CommonResult<BaseUser> addBaseUser(BaseUser baseUser);

	CommonResult<List<BaseUser>> queryBaseUserList(QueryParams<BaseUser> queryParams);

	CommonResult<BaseUser> queryBaseUser(Long id);

	CommonResult<BaseUser> updateBaseUser(BaseUser baseUser);

	CommonResult<Object> deleteBaseUserArray(Long[] ids);

	CommonResult<PageEntity> queryForPage(QueryParams<BaseUser> queryParams);
	
	CommonResult<BaseUser> insertSelective(BaseUser baseUser);
	
	CommonResult<Object> deleteByList(List<BaseUser> baseUserList);
	
	CommonResult<List<BaseUser>> batchUpdate(List<BaseUser> baseUserList);
	
	CommonResult<List<BaseUser>> batchSave(List<BaseUser> baseUserList);
	
}
